|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfurny.ga.util.CollectionUtils
public final class CollectionUtils
Utility class for handling collections.
Constructor Summary | |
---|---|
private |
CollectionUtils()
Instantiation is not allowed. |
Method Summary | ||
---|---|---|
static
|
randomOrder(java.util.List<T> list)
Puts a list into a random order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private CollectionUtils()
Method Detail |
---|
public static <T> void randomOrder(java.util.List<T> list)
0
to n
is exchanged by a random element.
T
- Generic type argument for the collections elements.list
- The list to put into random order.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |